package com.woniuxy.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 管理员or销售表
 * </p>
 *
 * @author 郑鹏
 */
@Getter
@Setter
@TableName("crm_manager")
@Schema(description = "Manager对象")
public class Manager extends BaseEntity{

    private static final long serialVersionUID = 1L;

    @Schema(description = "账户")
    private String account;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "角色（销售或管理员）0管理员1销售")
    private Integer role;

    @Schema(description = "最后登录时间")
    private LocalDateTime lastLoginTime;

    @Schema(description = "状态")
    private Integer status;




}